package com.caimiao.miao.page.master;

import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;

import com.caimiao.miao.interfaces.IBaseModel;
import com.caimiao.miao.interfaces.IBasePresenter;
import com.caimiao.miao.interfaces.IBaseActView;

public interface IMasterContact {
    interface View extends IBaseActView<Presenter> {
        void replace(Fragment fragment, boolean isCreate, String tag, boolean canBack);
    }

    interface Presenter extends IBasePresenter {
        void replaceFragment(FragmentManager fm, int id);

        <T> void setFragment(FragmentManager fm, Class<T> tClass, boolean canBack);
    }

    interface Model extends IBaseModel {
    }
}
